import { request } from "@/utils/request.js"

// 笔记评价列表
export function commentNotesPage(data = {}) {
	return request({
		url: '/user/comment/notesPage',
		data
	})
}

// 用户评价笔记列表
export function commentUserNotesPage(data = {}) {
	return request({
		url: '/user/comment/userNotesPage',
		data
	})
}

// 商家评价列表
export function commentMerchantPage(data = {}) {
	return request({
		url: '/user/comment/merchantPage',
		data
	})
}

// 商品评价列表
export function commentGoodsPage(data = {}) {
	return request({
		url: '/user/comment/goodsPage',
		data
	})
}


// 二级评价列表
export function commentCommentPage(data = {}) {
	return request({
		url: '/user/comment/commentPage',
		data
	})
}

// 笔记评价
export function commentCommentNotes(data = {}) {
	return request({
		url: '/user/comment/commentNotes',
		data,
		showMsg: true
	})
}

// 二级评价
export function commentComment(data = {}) {
	return request({
		url: '/user/comment/comment',
		data,
		showMsg: true
	})
}

// 评价详情
export function commentInfo(data = {}) {
	return request({
		url: '/user/comment/info',
		data
	})
}